package com.jingxing.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jingxing.mapper.RewardReceiveMapper;
import com.jingxing.pojo.RewardReceive;
import com.jingxing.service.RewardReceiveService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class RewardReceiveServiceImpl extends ServiceImpl<RewardReceiveMapper, RewardReceive> implements RewardReceiveService {

    @Autowired
    private RewardReceiveMapper rewardReceiveMapper;

    @Override
    public List<RewardReceive> getRewardReceives(String playerName, String prizeName) {
        return rewardReceiveMapper.getRewardReceives(playerName, prizeName);
    }

}
